
package com.john.blog.controller.back;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.john.blog.controller.back.support.AbstractBackModelControllerSupport;
import com.john.blog.model.po.Youlian;
import com.john.blog.service.YoulianService;

/**
 * 友情链接controller
 * 
 * @author JiangGengchao
 * @date 2018年2月25日
 */
@RestController
@RequestMapping("/blog/back/youlian")
public class BackYoulianController extends AbstractBackModelControllerSupport<Youlian> {

    @Autowired
    private YoulianService youlianService;

    @PostConstruct
    public void init() {
        this.service = youlianService;
    }

}
